package com.yb.guigu.pick.mobile.sender.config;

import com.yb.guigu.pick.core.bean.GuiguMobileProperties;
import com.yb.guigu.pick.mobile.sender.sender.IMobileSender;
import com.yb.guigu.pick.mobile.sender.sender.MobileSenderImpl;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/6/11 20:03
 * FileName: MailSenderConfig
 * Description:
 */

@Configuration
@EnableConfigurationProperties(GuiguMobileProperties.class)
public class MobileSenderConfig {
    @Bean
    public IMobileSender guiguMobileSender(){
        return new MobileSenderImpl();
    }
}
